//
//  MTCClienterViewCell.m
//  ERP
//
//  Created by QA on 15/9/17.
//  Copyright (c) 2015年 ShangHai HaoLei Software Technology Co., Ltd. All rights reserved.
//

#import "MTCClienterViewCell.h"

@implementation MTCClienterViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"MTCClienterViewCell" owner:self options:nil];
        self = [topLevelObjects objectAtIndex:0];
        [self setView];
    }
    return self;
}

- (void)setView
{
    RatingBar *bar = [[RatingBar alloc] initWithFrame:CGRectMake(-12, 51, 130, 20)];
    bar.userInteractionEnabled = NO;
    [self.contentView addSubview:bar];
    self.starView = bar;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
